package com.jzr.task.db1.service.Impl;

import com.jzr.task.db1.mapper.KangYingMapper;
import com.jzr.task.db1.service.KangYingService;
import com.jzr.task.db1.vo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

@Service
public class KangYingServiceImpl implements KangYingService {
    @Autowired
    private KangYingMapper kangYingMapper;


    @Override
    public List<KyAreaVo> getAreaList(LocalDateTime updateTime) {
        return kangYingMapper.getAreaList(updateTime);
    }

    @Override
    public List<KyOfficeVo> getOfficeList(LocalDateTime operateTime) {
        return kangYingMapper.getOfficeList(operateTime);
    }

    @Override
    public List<KyAreaOfficeVo> getAreaOfficeList(LocalDateTime updateTime) {
        return kangYingMapper.getAreaOfficeList(updateTime);
    }

    @Override
    public List<KyMedicineVo> getMedicineList(LocalDateTime updateTime) {
        return kangYingMapper.getMedicineList(updateTime);
    }

    @Override
    public List<KySeatBedVo> getSeatBedList(LocalDateTime updateTime) {
        return kangYingMapper.getSeatBedList(updateTime);
    }

    @Override
    public List<KySuffererVo> getSufferList(LocalDateTime updateTime) {
        return kangYingMapper.getSuffererList(updateTime);
    }

    @Override
    public List<KyPrescriptionVo> getPrescriptionList(LocalDateTime updateTime) {
        return kangYingMapper.getPrescriptionList(updateTime);
    }
}
